html,
body,
#app {
  width: 100%;
  min-width: 375px;
  height: 100%;
  margin: 0;
  padding: 0;
  --el-font-weight-primary:400;
  * {
    outline: none;
  }
}
.pointer {
    cursor: pointer;
}
.relative {
    position: relative;
}
.flex {
    display: flex;
}
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}
.align {
    align-items: center;
}
.between {
    justify-content: space-between;
}
.j-center {
    justify-content: center;
}
.flex-align {
    display: flex;
    align-items: center;
}
.justify-end {
    justify-content: flex-end;
}
.flex-align-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.flex-align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.xm-ml0 {
    margin-left: 0 !important;
}
.xm-mt10 {
    margin-top: 10px !important;
}
.xm-ml10 {
    margin-left: 10px !important;
}
.xm-mb10 {
    margin-bottom: 10px !important;
}
.xm-mx10 {
    margin: 0 10px !important;
}
.xm-mb20 {
    margin-bottom: 20px !important;
}
.xm-width200 {
    width: 200px !important;
}
.xm-widthMax {
    width: 100% !important;
}
.xm-mrAuto {
    display: block;
    margin: 0 0 0 auto;
}
.xm-content {
    padding: 20px;
    box-sizing: border-box;
    height: calc(100vh - $topTabHeight - $pageTabHeight) !important;
    display: flex;
    flex-direction: column;
    .xm-headTab {
        margin-bottom: 15px;
    }
    .xm-main {
        flex: 1;
        min-height: 300px;
        overflow: auto !important;
    }
    .xm-TableCenter {
        .el-table__cell {
            text-align: center;
        }
        .el-descriptions__cell {
            text-align: center !important;
        }
    }
    
}
.labelBox {
    // width: calc(100% - $SidebarWidth);
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    .labelItem {
        display: flex;
        align-items: center;
        margin: 0 20px 10px 0;
        .el-input, .el-select {
          width: 150px;
      }
        .el-date-editor {
            width: max-content;
            .el-icon {
                margin-right: 4px;
            }
        }
        .label {
            min-width: max-content;
            color: rgba($color: #000000, $alpha: .7);
            font-size: 14px;
            font-weight: 500;
        }
        .lable-val {
            min-width: max-content;
            height: var(--el-component-size);
            line-height: var(--el-component-size);
        }
    }
}
.TablelabelBox {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    background: #0000001a;
    .labelItem {
        height: 40px;
        display: flex;
        align-items: center;
        margin: 0 20px 0 0 ;
    }
}
.tipsInput {
    width: 100%;
    color: rgba($color: #000, $alpha: .5);
    font-size: 12px;
}
.opacity-x {
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    .max-width {
        width: max-content;
    }
}
.input-width {
    --el-disabled-bg-color:#fff;
    .el-input, .el-input__wrapper, .el-form-item__content>.el-select {
      width: calc($inputWidth) !important;
    }
    .el-input__inner {
      color: #000 !important;
    }
    .el-pagination__editor.el-input {
      width: 80px !important;
    }
}
.el-input-w60 {
    .el-input {
        width: 60px !important;
    }
}
.xm-dialog {
    .labelBox {
        width: 100%;
    }
    .xm-main {
        height: 400px;
    }
    .el-dialog__header {
        padding: 20px;
        box-sizing: border-box;
    }
    .el-dialog__body {
        padding: 10px 20px 20px;
    }
}
.transverseApp {
    .el-table__body-wrapper tr td.el-table-fixed-column--left, .el-table__body-wrapper tr td.el-table-fixed-column--right, .el-table__body-wrapper tr th.el-table-fixed-column--left, .el-table__body-wrapper tr th.el-table-fixed-column--right, .el-table__footer-wrapper tr td.el-table-fixed-column--left, .el-table__footer-wrapper tr td.el-table-fixed-column--right, .el-table__footer-wrapper tr th.el-table-fixed-column--left, .el-table__footer-wrapper tr th.el-table-fixed-column--right, .el-table__header-wrapper tr td.el-table-fixed-column--left, .el-table__header-wrapper tr td.el-table-fixed-column--right, .el-table__header-wrapper tr th.el-table-fixed-column--left, .el-table__header-wrapper tr th.el-table-fixed-column--right {
        position:static !important;
    }
    .el-table-fixed-column--right.is-first-column::before {
        display: none !important;
    }
}
/* 修改 确认 按钮点击时的边框色、背景色和文字颜色 */

.oe-dialog-btn {
    border-color: #f56c6c !important;
    background: #f56c6c !important;
    color: #fff !important;
}

.oe-dialog-btn:hover {
    border-color: #fe8f8f !important;
    background: #fe8f8f !important;
}
.xm-dialog-cont-y {
    .el-dialog__body {
      height: 500px;
      overflow-y: auto;
    }
  }
.roomImg {
    .roomImgBut {
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .el-image {
        width: 100%;
    }
}

.roomImg:hover {
    .roomImgBut {
        display: block;
    }
}
.tageList {
    width: 220px;
    .el-tag {
        width: max-content;
        display: flex;
    }
    .el-image, .el-tag, .butList {
        margin: 0 auto;
    }
    .el-image {
        display: block;
    }
    .butList {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}